package com.yuyou.tas.admin.mapper;

import com.yuyou.tas.service.api.admin.dto.AuthUserSubjectDTO;
import com.yuyou.tas.service.api.admin.entity.AuthUserSubject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthUserSubjectMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AuthUserSubject record);

    AuthUserSubject selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthUserSubject record);

    int deleteByAuthUserId(Long authUserId);

    List<AuthUserSubjectDTO> findSubjectByAuthUserId(Long authUserId);
}